#ifndef XMLTRAJECTORYWRITER_H
#define XMLTRAJECTORYWRITER_H

#include <QXmlStreamWriter>
#include <vector>
#include <trajectory.h>

class QIODevice;

class XmlTrajectoryWriter
{
public:
	XmlTrajectoryWriter(std::vector<mlgesture::Trajectory> *trajectories_);
	void write(QIODevice *device);

private:
	QXmlStreamWriter xml_;
	std::vector<mlgesture::Trajectory> *trajectories_;
};

#endif // XMLTRAJECTORYWRITER_H
